package com.example.mrzhou.srtfoodapplication;

/**
 * Created by SRTfood on 2017/1/17.
 */

public class Subscriber {

    /*
     * 方法或类的作用：用户的定义类
     * 属性说明：用户的账号属性，主要用于协约以及登入
     *
     */

    private int icon; //头像
    private String account; //账号
    private String password; //密码
    private String nickname; //昵称
    private int phone; //联系方式

    //头像写入以及输出
    public void setIcon(int icon) {
        this.icon = icon;
    }
    public int getIcon() {
        return icon;
    }

    //账号的写入以及输出
    public void setAccount(String account) {
        this.account = account;
    }
    public String getAccount() {
        return account;
    }

    //密码的写入以及输出
    public void setPassword(String password) {
        this.password = password;
    }
    public String getPassword() {
        return password;
    }

    //昵称写入以及输出
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    public String getNickname() {
        return nickname;
    }

    //联系方式写入以及输出
    public void setPhone(int phone) {
        this.phone = phone;
    }
    public int getPhone() {
        return phone;
    }
}
